package com.dayouzi.crawler_monitor;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}) // 排除自动数据源配置
@ComponentScan(basePackages = {"com.dayouzi"})
@EnableAspectJAutoProxy // aop
@EnableTransactionManagement // 事务管理
public class CrawlerMonitorApplication {
    public static void main(String[] args) {
        SpringApplication.run(CrawlerMonitorApplication.class, args);
    }

}
